<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
    <div>
        <form th:action="@{/doLogin}" method="post">
            <h1>个人网上银行</h1>
            <div>
                卡号：<input type="text" name="cardno"/>
            </div>
            <div>
                密码：<input type="password" name="password"/>
            </div>
            <p th:text="${msg}" style="color: red; font-size: 16px">
            </p>
            <div>
                <input type="submit" value="登录网上银行"/>
            </div>
        </form>
    </div>
</body>
</html>